home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / zabezpeceni / spyeraser / spyeraser.exe / {app} / SpyEraser.dll / HTML / 111 < prev    next >
Text File  |  2007-04-23  |  12KB  |  288 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <script language="JavaScript" type="text/JavaScript"  src="strings.js"></script>
  4. <head>
  5. <meta http-equiv="msthemecompatible" content="yes">
  6. <title>SpyEraser Alert</title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  8. <style type="text/css">
  9. <!--
  10. .win1txt {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #4A4A4A; cursor: default;}
  11. .win2txt {font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #232323; cursor: default;}
  12. .win3txt {font-family: Arial, Helvetica, sans-serif; font-size: 9px; color: #868686; cursor: default;}
  13. .title{font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #0c509e; font-weight:bolder;cursor: default;}
  14. .desc{font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #5e5d5c; font-weight:bolder;cursor: default;}
  15. -->
  16. </style>
  17. <script language="JavaScript" type="text/JavaScript">
  18. <!--
  19. function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  20.   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  21.     document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  22.   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
  23. }
  24. MM_reloadPage(true);
  25. //-->
  26.  
  27. function ltrim(str) 
  28.     return str.replace(/^[ ]+/, ''); 
  29.  
  30. function rtrim(str) 
  31.     return str.replace(/[ ]+$/, ''); 
  32.  
  33. function trim(str) 
  34.     return ltrim(rtrim(str)); 
  35.  
  36. function showAlert(type,title,desc,checkNeeded,checkTitle,bt1,bt2,link)
  37. {  
  38.     //alert(checkNeeded);
  39.     
  40.     title=trim(title);
  41.     if (title.length==0)
  42.     {
  43.     
  44.      title="SpyEraser Real Time Alert";
  45.     } 
  46.        
  47.       if(link != "0" && link && link !=0)
  48.     {
  49.            document.getElementById('alert_more_info').style.visibility='visible';
  50.     }
  51.     else
  52.     {
  53.         document.getElementById('alert_more_info').style.visibility='hidden';
  54.     }
  55.     
  56.     var com_start="<!-- ";
  57.         
  58.     var com_end=" -->";
  59.     var mystring="";
  60.     
  61.     
  62.     document.all['alert_title'].innerHTML=title;
  63.     document.all['alert_desc'].innerHTML=desc;
  64.     
  65.     
  66.     
  67.     if(type=="allowed_info")
  68.     {
  69.         //document.all['alert_top_image'].src="alert_allowed_title.png";
  70.         //document.all['alert_top_td'].background="alert_unknown_allow_block_background.png";
  71.         document.all['alert_title_icon'].src="pua_icon_ok.png";
  72.         //document.all['alert_more_icon'].src="alert_allowed_manage_icon.png";
  73.     }
  74.     else if(type=="blocked_info")
  75.     {
  76.         //document.all['alert_top_image'].src="alert_blocked_title.png";
  77.         //document.all['alert_top_td'].background="alert_blocked_title_background.png";
  78.         document.all['alert_title_icon'].src="pua_icon_cross.png";
  79.         //document.all['alert_more_icon'].src="alert_blocked_manage_icon.png";    
  80.     }
  81.     else if(type=="known_allow_block")
  82.     {
  83.     
  84. //        mystring="";
  85. //        
  86. //        mystring+="<table width=140 border=0 cellspacing=0 cellpadding=0>";
  87. //        mystring+=" <tr> ";
  88. //        mystring+="<td width=15% align=center valign=top> ";
  89. //        mystring+="<input name=remem2 type=checkbox id=remem2 value=checkbox checked>" ;
  90. //        mystring+="</td>";
  91. //        mystring+="<td width=85% class=win2txt id=alert_check_title>"+ID_REM_ACTION+"</td>";
  92. //        mystring+="</tr>";
  93. //        mystring+="</table>";
  94. //        
  95. //        
  96. //        var str=document.all['action_div'].innerHTML;
  97. //        
  98. //        //document.all['action_div'].innerHTML="";
  99. //        /////////////////////code changed by chandan for checkbox functionality/////////////////////////////
  100. //        checkNeeded=1;
  101. //        if(parseInt(checkNeeded)==1)
  102. //        {
  103. //            str=str.replace(/checkreplace/,com_end + mystring + com_start);
  104. //            //document.all['check_div'].innerHTML="";                        
  105. //        }
  106. //        
  107. //        
  108. //        var str_td=document.all['alert_td'].innerHTML;
  109. //        str_td=str_td.replace(/<!-- actionreplace -->/,str);        
  110. //        document.all['alert_td'].innerHTML=str_td;
  111. //        document.all['alert_top_image'].src="alert_known_allow_block.png";
  112. //        document.all['alert_top_td'].background="alert_known_allow_block_background.png";
  113.         document.all['alert_title_icon'].src="pua_icon.png";
  114. //        //document.all['alert_more_icon'].src="alert_more_info_icon.png";
  115.         document.all['alert_button1'].value=bt1;
  116.         document.all['alert_button2'].value=bt2;
  117.         
  118.         document.getElementById('action_div').style.visibility='visible';
  119. //        
  120. //        if(parseInt(checkNeeded)==1)
  121. //        {
  122. //            //document.all['alert_check_title'].innerHTML=checkTitle;
  123. //        }
  124.     }
  125.     else if(type=="unknown_allow_block"){
  126.         
  127. //        mystring="";
  128. //        mystring+="<table width=140 border=0 cellspacing=0 cellpadding=0>";
  129. //        mystring+=" <tr> ";
  130. //        mystring+="<td width=15% align=center valign=top> ";
  131. //        mystring+="<input name=remem2 type=checkbox id=remem2 value=checkbox checked>" ;
  132. //        mystring+="</td>";
  133. //        mystring+="<td width=85% class=win2txt id=alert_check_title>"+ID_REM_ACTION+"</td>";
  134. //        mystring+="</tr>";
  135. //        mystring+="</table>";
  136. //        
  137. //        
  138. //        var str=document.all['action_div'].innerHTML;        
  139. //        //document.all['action_div'].innerHTML="";
  140. //        checkNeeded=1;
  141. //        if(parseInt(checkNeeded)==1)  
  142. //        {
  143. //            str=str.replace(/checkreplace/,com_end+mystring+com_start);
  144. //            //document.all['check_div'].innerHTML="";
  145. //        }        
  146. //        
  147. //        
  148. //        var str_td=document.all['alert_td'].innerHTML;
  149. //        str_td=str_td.replace(/<!-- actionreplace -->/,str);
  150. //        document.all['alert_td'].innerHTML=str_td;
  151. //        document.all['alert_top_image'].src="alert_unknown_allow_block.png";
  152. //        document.all['alert_top_td'].background="alert_unknown_allow_block_background.png";
  153.  
  154.         document.getElementById('action_div').style.visibility='visible';
  155.         document.all['alert_title_icon'].src="allow_unknown_allow_block_icon.png";
  156.         //document.all['alert_more_icon'].src="alert_more_info_icon.png";
  157.         document.all['alert_button1'].value=bt1;
  158.         document.all['alert_button2'].value=bt2;
  159.         
  160. //        if(parseInt(checkNeeded)==1)
  161. //        {
  162. //            //document.all['alert_check_title'].innerHTML=checkTitle;
  163. //        }
  164.     }
  165.     
  166.     
  167.     
  168.     
  169. }
  170. function doit_onload()
  171. {
  172.     document.all('alert_page').click();    
  173.     //showAlert("unknown_allow_block","An Internet safe Site requires your approval","Windows SpyEraser has detected an attempt to add an Internet safe site, New Value #1. Internet Explorer allows safe sites to run with lower security settings. Security settings should not be changed without your permission. You should block this change if you have not made the change or run a program to do so.<BR><BR>Safe Site: New Value #1<br>Site access: ","1","Info to Community","  Allow  ","  Block  ","Manage");
  174. }
  175.  
  176. function onclickok()
  177. {
  178.     document.all('alert_button1').click();    
  179. }
  180.  
  181. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  182.  
  183. </script>
  184.  
  185. </head>
  186.  
  187. <body onLoad="doit_onload();" topmargin="0" leftmargin="0">
  188.  
  189. <table cellpadding=0 cellspacing=0 width=284>
  190. <tr><td><img src="pua_header_image.png" /></td></tr>
  191. <tr>
  192.     <td height=312 background="pua_bg.png" align=center>
  193.         <table align=center border="0" cellspacing="0" cellpadding="0" width width=276>
  194.             <tr>
  195.                 <td height=190 width=276 >
  196.                 
  197.                     <table cellsapcing=0 cellpadding=0 border=0 width=276>
  198.                         <tr>
  199.                             <td valign=top width=66 align=center>
  200.                                 <img src="pua_icon.png" id="alert_title_icon">
  201.                             </td>
  202.                             <td valign=top align=left  width=210 class="title">
  203.                                 <p style="margin-top:5px;margin-bottom:3px"><img src="pua_txt_attention.png" id="Img1"></p>
  204.                                 
  205.                                 <span id="alert_title">SpyEraser Alert</span>
  206.                             </td>
  207.                         </tr>
  208.                         <tr>
  209.                             <td colspan=2 >
  210.                                 <div style="height:120px;width:273px;overflow:auto;word-wrap:break-word;" class="desc" id="alert_desc">
  211.                                      <p >
  212.                                        SpyEraser has detected an unauthorized activity!
  213.                                                 
  214.                                     </p>
  215.                                 </div>
  216.                             </td>
  217.                         </tr>
  218.                     </table>
  219.                 
  220.                 </td>
  221.             </tr>
  222.             <tr>
  223.                 <td>
  224.                     <div id="action_div" style="visibility: hidden;"> 
  225.                         <table align=center border="0" cellspacing="0" cellpadding="0" width width=276>
  226.                         <tr>
  227.                             <td align=center background="pua_footer_bg.png" height=84 width=276>
  228.                                 <table border="0" cellspacing="0" cellpadding="0" width="100%" >
  229.                                     <tr>
  230.                                         <td colspan=2 height=15>
  231.                                         </td>
  232.                                     </tr>
  233.                                     <tr>
  234.                                         <td colspan=2 align=center><img src="pua_txt_whatWouldYouLike.png"/></td>
  235.                                     </tr>
  236.                                     <tr>
  237.                                         <td colspan=2 height=5>
  238.                                         </td>
  239.                                     </tr>
  240.                                     <tr>
  241.                                         <td width=50% align=right><img id="alert_button1" src="pua_btn_allow_n.png" onmouseover="this.src='pua_btn_allow_h.png';" onmousedown="this.src='pua_btn_allow_d.png';" onmouseout="this.src='pua_btn_allow_n.png';" style="cursor:hand;" hideFocus=true/> </td>
  242.                                         <td width=50% align=left> <img id="alert_button2" src="pua_btn_block_n.png" onmouseover="this.src='pua_btn_block_h.png';" onmousedown="this.src='pua_btn_block_d.png';" onmouseout="this.src='pua_btn_block_n.png';" style="cursor:hand;" hideFocus=true/></td>
  243.                                     </tr>
  244.                                     <tr>
  245.                                         <td colspan=2 height=5>
  246.                                         </td>
  247.                                     </tr>
  248.                                     <tr>
  249.                                         <td colspan=2 align=center><input name=remem2 type=checkbox id=remem2 value=checkbox checked> <img src="pua_txt_rememberThisAction.png"/></td>
  250.                                     </tr>
  251.                                     <tr>
  252.                                         <td colspan=2 height=5>
  253.                                         </td>
  254.                                     </tr>
  255.                                     <tr>
  256.                                         <td colspan=2 align=center><img id="alert_more_info" src="pua_btn_manageAllow_n.png" onmouseover="this.src='pua_btn_manageAllow_h.png';" onmousedown="this.src='pua_btn_manageAllow_d.png';" onmouseout="this.src='pua_btn_manageAllow_n.png';" /></td>
  257.                                     </tr>
  258.                                 </table>
  259.                             </td>
  260.                         </tr>
  261.                         
  262.                         </table>
  263.                     </div>
  264.                 </td>
  265.                 
  266.                     
  267.                 
  268.             </tr>
  269.             <tr><td width=100% align=center height=25 ><img id="startscan" src="pua_btn_startScan_n.png" onmouseover="this.src='pua_btn_startScan_h.png';" onmousedown="this.src='pua_btn_startScan_d.png';" onmouseout="this.src='pua_btn_startScan_n.png';" /></td></tr>
  270.             
  271.         </table>
  272.         
  273.     
  274.     </td>
  275. </tr>
  276.  
  277. <tr><td height=10><img id="alert_page" src="pua_footer_image.png" /></td></tr>
  278.  
  279. </table>
  280. </body>
  281. </html>
  282.